Skip to main content
Version: Thelia 2

{country}

Country Substitution provides default country configured in the store.
{country attr="one_of_the_following"}

Attributes​

Attribute nameData returned
id
title
chapo
description
postscriptum
isocode ISO 3166-1 numeric (3 digit)
isoalpha2 The ISO 3166-1 alpha-2 (2 letter)
isoalpha3 The ISO 3166-1 alpha-3 (3 letter)
createdAtThe date of creation formatted by Date time parameter
updatedAtThe date of last modification formatted by Date time parameter

Date Time optional parameters​

ParameterDescription
outputTake date, datetime or time as value to select the return type
formatTake a PHP date format, the format for the current locale will be used if this parameter is empty